/**
 * Created by hasee on 2017/7/4.
 */
import React from 'react';
import ReactDom from 'react-dom';
import {Router, Route, IndexRoute, Link, hashHistory,browserHistory } from 'react-router';
import {App} from "./../components/app";
import {Home} from "./../components/home";
import {Login} from "./../components/login";
import {Test1} from "./../components/test1";
import {Test2} from "./../components/test2";
const RouteConfig = (
     <Router history={hashHistory}>
        <Route path='/' component={App}>
            <IndexRoute component={Login}/>
            <Route path="login" component={Login} />
            <Route path="home" component={Home} />
            <Route path="test1" component={Test1} />
            <Route path="test2" component={Test2} />
        </Route>
    </Router>
    );

export  default RouteConfig;

